support data-attach-point (like dojoAttachPoint) in templates
shorten variable names in generated code