A group can not have a null ID. But a check for nullity of the group is a good idea.