I'm watching the Original Series episode "The Savage Curtain" right now on DVD. The episode includes text commentary, and one of these involves Scotty's kilt, part of his dress uniform. According to the commentary, the tartan is from Doohan's family in Scotland, but no other information. They talk a little more about the kilt, and also haggis when Scotty mentions it.

Live long and prosper.