fixed id generation on `COPY FROM`

bug only affected imports on tables with multiple primary key constraints and clustered-by definition