toCredentialIdentifier

Encodes the scheme to a unique identifier, that may be used in CredentialIssuer.supportedCredentialConfigurations.