Changed order of operations on MemoryVitreousContext to add items before assigning the id