Mainly following the pattern of the other uses of new_id (and a holdover from when it was the result of calling .insert().) However, since it's used in a loop and 2 other places, it at least optimizes out a couple of dereferences (one pointer v a pointer to a pointer on each assignment.)