A Unifying Hierarchy of Valuations with Complements and Substitutes