The wave function with two identical particles interchanged can (at most) give a change of phase (multiplication by e^(i*omega)), since it has to result in the same observables.
So the switched wave function can only differ by a constant factor, which are the eigenvalues of P.
