// no need to change it, as it's already cast to the correct class.
return fromId;
}
else
{
UniqueIdGenerator generator = new UniqueIdGenerator();
UniqueIdTree tree = new UniqueIdTree(generator);
tree.nameStack(fromStack);
IdStatementGenerator idGen = new IdStatementGenerator(adapter, fromStack, true);
String idStatement = idGen.generate(targetLevel);
StringBuilder sb = new StringBuilder("SELECT ");