updated group.id function to use $FUNCNAME