Make id fields primary.