Add an id column to the pref tables. (TO_DO 6)