It would be extremely helpful if there was a server-side endpoint for getting PlayFab IDs from Twitch IDs just as there is for the other services like Facebook, Steam, etc.
Currently the only workaround is to use post-processing to add a generic ID with the Twitch user ID. Please see this question for more details.