def METHOD_NAME(cls, resource_id: str, name: str = "Identifier", message: str = "") -> None:
    """Generic identifier validation."""
    if not message:
        message = f"Invalid {name} '{resource_id}', it should start with '{cls.RESOURCE_ID_PREFIX}'."
    if not resource_id or not str(resource_id).startswith(cls.RESOURCE_ID_PREFIX):
        raise IdentifierError(message)