YAY
it was originally written for savik... neither kirstie alley nor robin curtis would reprise the role... it was decided that recasting the same roll three times would annoy the fanbase and so they renamed the character valeris
this explains the opening sequence when valleris quotes starfleet regulations and the bridge crews amused response.... it was a tie in from the star trek two script in which savik was told by kirk to keep on quoting regulations
it also explains valeris and spocks bonding ritual in star trek six... which was of course a tie in to star trek three
it also made her betrayal infer spocks belief that vulcans are better more complicit in the racism theme