Return the variable value id of an expression if bounded
Use getGroupKeyVariables for the variables that group keys keep in scope.
Return the variable value id of an expression if bounded