def METHOD_NAME(cls, method: Callable, spec: Optional[str] = None) -> str:
    """Build a new spec from prefix (`method` name) and suffix (`spec`)."""
    fname = cls._dslint_fname(method)
    return f'{fname}:{spec}' if spec else fname