Initial fix for table id issues. only known issue is that features are added twice on the first sync
added more logs and such
Fixed double add issue. There should be no problem with 'id' attributes now.