Retrieves a unique identifier corresponding to the provided key.
An integer representing the unique identifier of the specified key.
The string representation of the key for which the identifier is needed.