Set-PWUserToLogical from federated?

When using Set-PWUserToLogical, the -Domain parameter is mandatory but federated accounts don't have a domain.

Could the cmdlet also support piping a user from Get-PWUserByMatch, similar to how Convert-PWUserToFederated is used? Set-PWUserToLogical is only accepting strings as input.

I'm ultimately looking for a way to update a users Identity Name but can only achieve it by converting to logical and back to federated again.