[FIX] model: prevent exporting column ID of non ordinary tables

This makes no sense and can generate errors if you try to purge
ir.model.data of not existing records.