This sort of stuff does not belong in the API. The frontend GUI should do the processing involved with making an intuitive label based on the context of the object. This also becomes simpler if we have the API keep the hierarchy, and avoid the use of labels as an indication of hierarchical structure.