Normal forms, symmetry, and linearization of dynamical systems