Actually set Contact::cid.