component tree renamer method is made public so that it is possible to rename components that are not directly declared in the builder script