relanat 7 Sep 2018:

This would be very useful.

relanat 22 Mar 2019:

In 1.8.1, &dsCommonwealthNightclub; uses a 'nameID=' for the dockscreen title.

<DockScreen UNID="&dsCommonwealthNightclub;"
	nameID=	"strTitle"
        ...

<Text id="strTitle">The Victorian Nightclub</Text>

We can use this and place code in a text id to alter the dockscreen title as desired. Easier than carrying the title from a previous screen as 'gData'.
But a function would be handy.