Use sequence for factory ids
Factory objects should be as similar as possible to valid objects after creation. This MR adds the id field to all the factories as a sequence, allowing multiple objects to be built but without the same id.
Factory objects should be as similar as possible to valid objects after creation. This MR adds the id field to all the factories as a sequence, allowing multiple objects to be built but without the same id.