We insist we're only equal to other
which heads off a lot of inconsistency up front.
Returns some prefix that is mapped to the URI.
the input URI
the prefix that is mapped to the input URI, or null if no prefix is mapped to the URI.
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals.