Add sequence support for id-tables

An obvious deficiency now patched for id-tables.