Allow use of non-id primary column

Closes #239.