Yes very similar. Amgepo was right... ReferenceAlias is the key. I'm not able to test what I've learned yet, but this is what I understand so far:
If you create a ReferenceAlias in your quest, you can set the DisplayName (pull-down) to a Message. This will rename the Actor assigned to the Alias. the new name will be the "Title" of the message sou selected. This change is supposed to be permanent. So even if you point the ReferenceAlias to a new Actor, the Name-Change should remain in effect.
So what you and I need to do, is something like this
Alias_ChangeNameOf.ForceRefTo(Actor2Rename)
Alias_ChangeNameOf would have DisplayName set to our Custom Message
The custom message would have to use text-replacement in the title, derived from another Alias. (Set the owner quest on the message to the quest with your aliases)
In the Message Title:
then something like this in your script to do the rename.
Alias_GetNameFrom.ForceRefTo(ObjectWithDesiredName)
Alias_ChangeNameOf(Actor2Rename)
Seems like a strange way of doing it, but the only way perhaps. Is there another way to change the title of a message during runtime?
I'll post any success I have (or don't have). I hope you will too.