Issue 22, uniqueness constraints on IDs

I had to define a bunch of prefixes across a bunch of schemas in order to get the XPath statements to work. But this didn't require actually importing the schemas, just defining the prefixes. Still, a downside.

Fix to #22