Scripts are purely a technical aspect. Many units and hero names in the data have different designations than what we ultimately see in the game.
Nevertheless, the developers try to name objects in a clear way, rather than using a random set of characters, like UID. So, they do convey some information, however minimal.