Extract the logic for generating identifiers out of the repository
controller and stick it in an IdGenerator class we can reuse/mock
and inject into other controllers. Added to the AuthoritativeSet
controller for generating IDs for new HistoricalAgents.