Make primary key configurable for Models and Collections