Optimize NetworkController.getPlayerIdFor()