Dynamical symmetrization of the state of identical particles