From what my wife has told me... there was a female writer of Trek fanfics back-in-the-day (seventies, I think) who placed thinly-veiled versions of herself (always named Mary Sue) into her stories. Said character always wound up saving the ship and having a passionate romance with one of the Big Three (Kirk, Spock, or McCoy). She wasn't the only writer who did this unfortunately, but the term "Mary Sue" eventually grew to include all such fanfiction.
What about Scotty?