Improved symbol naming mechanism.

I still need to sort out symbol names based on built in types and constant values.