Revert "No need to have an id_table"

This reverts commit 355a7ee81d0a466e423a2a71a4f5ec009958ea21.