get group ids