Changed how tool ids are generated to tool.child can work