Similar Items: On purely-maximal ideals with applications