* A simple attribute, array or attributes forming a path
* @param group - a collection of AttributeGroups to be added.
*/
public void addAttribute(String attributeNameOrPath, Collection<AttributeGroup> groups) {
AttributeItem item = getItem(convert(attributeNameOrPath), true);
item.addGroups(groups);
}
/**
* Add a basic attribute or nested attribute with each String representing
* the key of an attribute of type Map on the path to what needs to be