Add tests for PTS._NameToId, PTS._IdToName, and PTS._NameOrId.