static newRoot(idGenerator) {
		const context = new ForkContext(idGenerator, null, 1);

		context.add([CodePathSegment.newRoot(idGenerator.next())]);

		return context;
	}
Creates a new root context, meaning that there are no parent
fork contexts.
@param {IdGenerator} idGenerator An identifier generator for segments.
@returns {ForkContext} New fork context.