def METHOD_NAME(self):
    title = re.sub(r"\W+", "-", self.submission.title)
    legal_chars = string.ascii_letters + string.digits + "-"
    pattern = f"[^{legal_chars}]+"
    title = re.sub(pattern, "", title)
    title = title.lower()
    title = title.strip("_")
    return f"{self.event.slug}-{self.submission.pk}{self.id_suffix}-{title}"