Internal function to Core.aslx - games should not normally need to call internal functions.
ResolveName(value, objtype)