The syntax for naming a group is:
groupname = group unit
So mygrp = group player creates a group (Named mygrp) of all the units in the player's group, and grp1 = group this in a unit's init field creates a group (Named grp1) with all of the soldiers in that unit's group.