you can give monsters unique names/numbers ahead of time in HLO too. i just tried making a generic script with three goblins and three goblin dogs, and then adding numbers to the end of their names-- it worked fine for me. here's a screenshot:
https://imgur.com/a/XylZYzh