Renamed group_names on register method to be group_ids

Resolves issue #412