Pattern, process, and hierarchy in the evolution of culture