Grouper can have objects of different types with the same name. If you are provisioning to a system that cant have this, you might want to enable this hook which disallows it at object creation time:
hooks.group.class = edu.internet2.middleware.grouper.hooks.examples.UniqueObjectGroupHook hooks.stem.class = edu.internet2.middleware.grouper.hooks.examples.UniqueObjectStemHook hooks.attributeDef.class = edu.internet2.middleware.grouper.hooks.examples.UniqueObjectAttributeDefHook hooks.attributeDefName.class = edu.internet2.middleware.grouper.hooks.examples.UniqueObjectAttributeDefNameHook
This checks for objects of type: group, folder, attribute definition, attribute. If an object of the same name and different type is created, it will have a HookVeto exception.
This hook is included in a 2.2.1 patch, though could probably be installed in previous versions of Grouper
https://bugs.internet2.edu/jira/browse/GRP-1134
fd