I can think of two possible ways to do this.
If the player is using a mouse and lets the cursor move over something (person, object etc) then Shaz's Mouse script allows for a word like that to appear. Normally that is associated with a graphic event like an NPC, but there would be no reason why you couldn't place a blank event on a building. It would need a bit of lateral thinking. For example (taken from the script instructions)
# <mouse talk Gloria>
# will change the cursor into the 'talk' icon and display the name Gloria
So you would configure it with some generic icon instead of the 'talk' one and then in an event on the building you would put
<mouse talk Mayor's home>
When the mouse moved over that building, even though the player might be on the other side of the map, the words Mayor's home would appear. If you are interested, the script is
here.
Another option might be a popup script. You can find Vlue's
here I haven't used this script myself, but it looks like it could be made to do what you want. I expect that there are other popup scripts out there.