Don't use global C++ objects to register idents.