Changed create_identifier to return a hash.
Updated unit test for create_identifier.