Matching Hierarchical Classifications with Attributes