scopeRefs -> scopeExprRefs

and add scopeParamRefs
TriggerIsParameterRef checks scope