The NameAllocator class is not only about Textures, so let's change a comment being related to it.
This functionality can also be used for other types of objects.