Similar Items: Polymorphism Meets DHOL