Modified the CT::Model#primary_index= method