Code for handling unicode/punycode name conversions

Addressing #120