Guarantee unique group/child IDs