Implemented persistence method to get a person by id.