Make sure netplay player IDs are actually unique.

Fixes issue 7329.