Similar Items: Contrastive Identification and Generation in the Limit