Mixtures, metabolites, ionic liquids: a new measure to evaluate similarity between complex chemical systems