use sequence as id generator for Postgres