IRtoSSM: fixed call to main
Templating: changed name mangling to exclude IdentID and superfluous underline