update output refs when question ID changes

I'm a little concerned about what this might do to the performance of large forms since it scans all itext in the entire tree. What do you think?