encoding: In WireFormat, added encodeName/decodeName. Refs #2061.
Name: Added wireEncode and wireDecode. Refs #2061.