james: Added function to convert player name to player ID