Patterns of overtaking, alternating primacy, irreversible decline, and monotonic convergence arise endogenously depending on the persistence of consumption habits