There are genderless nouns that could be used in place of a name if the name is unknown. “The stranger”, “The figure”, or for example, using a nickname, like if she described them as ghostlike, then calling them the ‘phantom’, or something more in line with the narrator’s personality.
Sorry, I’m sticking my nose in late to the convo but I do love to hear myself type!