As of version 18.104.22.168, there are plans to switch from the legacy IDs to GUIDs.
Globally Unique Identifiers (GUIDs) are 32 digit numbers used to identify assets. They are preferable to file names because the files can be moved without redirectors.
At the time of writing a useful tool for generating GUIDs is: https://www.guidgenerator.com/
Legacy IDs are unsigned 16 bit integers with a [0, 65535] range, whereas GUIDs are 128 bits with an unimaginably huge range. This allows them to be generated without coordination or registration between developers. The main goal was to replace the legacy ushort IDs with GUIDs, but that goal fell out of reach. It is quite important to note that while the legacy IDs are used mainly, asset conflicts can still occur with GUIDs.