use id from name in player