Implemented hashCode and equals to try and improve set handling of KBComponents
Deproxy, and check for existance before adding IDs to try and prevent duplicates being added to set of identifiers.