added Repo#identity and Repo#identify with unit tests