Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=533528

Change-Id: I4ca2226438afccc611bbf26eb5895494b6613f4e
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
index a449926..ea19005 100644
--- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
@@ -106,7 +106,7 @@
 			return true;
 		if (!this.getClass().equals(o.getClass()))
 			return false;
-		return this.uri.equals(((URIID) o).uri);
+		return this.uri.toString().equals((((URIID) o).uri).toString());
 	}
 
 	protected String namespaceGetName() {
@@ -114,7 +114,7 @@
 	}
 
 	protected int namespaceHashCode() {
-		return uri.hashCode();
+		return uri.toString().hashCode() ^ getClass().hashCode();
 	}
 
 	public URI toURI() {