Think this is present at least from 7.9 and I just did it again in 8.1.19.
How to replicate: Make at least two project library scripts. Name them whatever you want. Click to drag one, and go just on top of the other script. Let go. Now the script will be
myLibrary (1) despite there being no duplicate around and so the (1) is unnecessary. You can do this within script folders as well, make a script package with two scripts, drag a script onto of the other script let go, and it will remain in the exact same name space/position it was but now with a (1) appended to it (well no longer the name space after the (1) is appended which is the issue imo).
I had a project I worked on a customer remotely with a bad connection a few weeks ago and I must have accidentally done this at some point because processes broke due to a script not existing, and I look to find that it is still there but with the (1) appended.
Luckily I had a backup so no real harm done, but it was embarrassing to explain what happened.
I personally don't see what the good faith use of this is supposed to be or do or why it's like this? If you drag and leave script on the same exact level/spot that it was in prior, why change the name at all, if there is no duplicate?