def METHOD_NAME(name: str) -> CycleId:
    def _get_valid_filename(name: str) -> str:
        """
        Source: https://github.com/django/django/blob/main/django/utils/text.py
        """
        s = str(name).strip().replace(" ", "_")
        s = re.sub(r"(?u)[^-\w.]", "", s)
        if s in {"", ".", ".."}:
            raise _SuspiciousFileOperation("Could not derive file name from '%s'" % name)
        s = str(s).strip().replace(" ", "_")
        return re.sub(r"(?u)[^-\w.]", "", s)
    return CycleId(_get_valid_filename(Cycle.__SEPARATOR.join([Cycle._ID_PREFIX, name, str(uuid.uuid4())])))