Assignment operator in IDBase did not work for some reason I dont understand. Changed to use constructor instead.
Project compiles again ;-)