def get_entity_name(entity):
    """
    Get entity name of given entity. If no "entityName" is specified return "aName".
    :param entity: entity element
    :return: entity_name
    """
    entity_name = entity.get("entityName")
    if not entity_name:
        entity_name = "aName"
    return entity_name