Created void to set a random name for a spawning entity(mob).