Singularity theory and forced symmetry breaking in equations