allow '$' and '_' in identifiers
add mangling tests and don't mangle value-bindings
only globalize function-bindings
quick fix for python ternary operation