Generate short variable names for nodes to code

Use a naive approach to replace long internal variable names with short variable name.