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