IDE-1109

    defined a foundDuplicate method for getCategory and propertySet
    method and add a matchDuplicate method to propertySet method to
    convert the category value to the category key.