Dynamically update the name/title of a layout

I think that this is a side effect of a bigger issue that I raised here: Widget name should not really be used for label/title - #3 by pjsulin