A Similarity Function for Multi-Level and Multi-Dimensional Itemsets