support for functions assigned to variables and those variables are then
used to create Custom/Local types from them
Those variables should just point to the original function.
nicer formatting of IScriptType when the value of a IVariable is a
IScriptValue (nested toString)