code: def aliased_slot_name(self, slot: SLOT_OR_SLOTNAME) -> str:
          
          if isinstance(slot, str):
              slot = self.schema.slots[slot]
          return slot.alias if slot.alias else slot.name
docs: Return the overloaded slot name -- the alias if one exists otherwise the actual name
  
          @param slot: either a slot name or a definition
          @return: overloaded name