Right click group node, e.g. g1, g2 and choose Rename to give a meaningful group name.
Such group long name shows in
Layer Contents dialog when mousing over group name
Labtalk commands are added to set and get group name:
set %C -g1 Name; // %C must be Group Head get %C -g1 Name;