Handle 'id' as primary key with PostgreSQL