def METHOD_NAME(self, pid_value, pid_provider=None):
    """Get a persistent identifier for this provider.
    :param pid_type: Persistent identifier type.
    :param pid_value: Persistent identifier value.
    :returns: A :class:`invenio_pidstore.models.base.PersistentIdentifier`
        instance.x
    """
    args = {"pid_type": self.pid_type, "pid_value": pid_value}
    if pid_provider:
        # FIXME: should be pid_provider or self.name?
        args["pid_provider"] = pid_provider
    return PersistentIdentifier.METHOD_NAME(**args)