added Repo#identity and Repo#identify with a unit test