Internal function to Core.aslx - games should not normally need to call internal functions.
CompareNames(name, value, obj, fullmatches, partialmatches)