def METHOD_NAME(self, compartment_id):
    parentsname = ''
    if self.parents[compartment_id] in self.names:
        parentsname = self.METHOD_NAME(self.parents[compartment_id])
    return '{0!s:s}/{1!s:s}'.format(parentsname, self.names[compartment_id])