Add an identifier_to_id() method

Per #261.