It's currently possible to modify the AuthnRequest string and replace the name id format, but this does not work when using client request signing.
It would be nice to have a function exposed to set the format of the name id policy, to be used when composing an AuthnRequest.