Restore NameFromUnicode and UnicodeFromName in scripts

I have removed too much from scripting support; the 2 aforementioned
functions are still useful, and are not available elsewhere.