Patterns of Structural Hierarchies in Complex Systems