Support primary keys other than "id".