Convert groups and player names to constants