Add an overload to IdGenerator.generateId method to take a list of
strings for the parent scope ids. This is to account for the possibility,
when importing, that a child node has to be instantiated before its
parent (for instance when creating nodes from an XML stream.)