A person arrested as a witness, held under civil process or imprisoned for contempt should be segregated from other prisoners. (PC 4001)