Restored check for whether id is supplied in identify_table for tests