Change enemy name to a string at start of battle?

Hey guys. sorry in advance if this is a dumb question (I am in no way shape or form JavaScript competent), but I'm trying to change the name of an enemy battler to a unique name at the start of battle. For example, you might fight many bats, but I want each individual bat in a selected troop to have a unique name, such as "Jim", "Bob" or "Joe" (as an example).

So I thought I might be able to do it with the script command below, but I'm not sure if I can set it equal to a string, and my first attempts at assuming syntax did not work. Any assistance would be greatly appreciated.

For a specific question to answer, in a particular troop, I'd like to change the first enemy in the troop's name to "Bob". Is this capable of being done with a script call similar to below?

$gameTroop.members()[0].name =

Original thread: https://forums.rpgmakerweb.com/threads/change-enemy-name-to-a-string-at-start-of-battle.78571/