support root bindings in the expression resolver

This should address #1255