Add G4/P8 identifier to physics string.