Support group id in addition to group names

Based on issue #43, we want to support both notations:

* group name first
* group id if it does not work with group name

Closes #49.