test program for scoping
Changed so block is an element
new printer that appends all resolved identifiers
with the hascode of declaration node