def METHOD_NAME(self, element: Element) -> str:
    """
    Returns the name of the element in its canonical form
    :param element:
    :return:
    """
    alias = element.METHOD_NAME
    if isinstance(element, SlotDefinition) and element.alias:
        alias = element.alias
    if type(element).class_name == "slot_definition":
        return underscore(alias)
    else:
        return camelcase(alias)