Returns true if the logical translations of p1 and p2 have the same (string=) namestrings.
p1
p2
string=