Implement getByUniqueId