the UID length (127 or 128) was doubled and chain docks don't have huge names anymore.
It's still possible to spawn a name with more characters in it than the database UID allows. The dialogs to spawn blueprints, ship cores and stations only allow X chars max and that works.
However, you are still allowed to admin load it with more than 128 characters in the name, this should also be capped.
Maybe capping all dialogues/admin commands to 90 characters or so would be good? gives you enough spare.
Then there's the issue of generated content, stations could have a longer than 128 length name so maybe letting the game just cut off the part that crosses it would be good enough?