nonceg: Insert id mapping when allocating nonce