Prefix primary key field with table name when needed.