It would be good to use typedef for std::map<UniversalId::Type, RefIdDataContainerBase*>