getMaxGroupID() is perfectly fine, IMHO. Eventually, I'd rename it maxGroupID() :)