Hierarchical structures in spatially extended systems