Just being pedantic I know but....
Under the FARs a safety pilot can log P1 or P2, or nothing at all...
The safety pilot may log P1 if in IMC and holds an appropriate IR. If the "Captain" does not hold an IR then from the minute they enter IMC, he can no longer log PIC.