Add binding information to materialization decisions.
Add binding information to materialization decisions.

The bind point of materialization decisions is necessary to disambiguate
between identical identifiers at arbitrarily unrelated expressions.

Ideally, all expressions should be handled in their own scope, but this
fix was easier.

DaMSL/K3,DaMSL/K3