printNode for concrete scopes.
MapIdentities will scan sub-scopes of functions.
Generate mangled names for anonymous scopes.