Similar Items: Theory and problems of probability