def METHOD_NAME(self, with_uuid=False):
    separator = "_"
    name_fragments = []
    task_name = _slugify(self.task_name)
    if task_name:
        name_fragments.append(task_name)
    if self.script:
        name_fragments.append(self.script.name)
    if self.local_context.area_of_interest_name:
        name_fragments.append(self.local_context.area_of_interest_name)
    if len(name_fragments) == 0 or with_uuid:
        name_fragments.append(str(self.id))
    return separator.join(name_fragments)