Make the external ID the same as the name, that'll...
# suitescript
d
Make the external ID the same as the name, that'll protect you against duplication. Mix in a client script and you should be good.