I profoundly doubt that D.C. Fontana, a working Hollywood scriptwriter who had to churn this episode and "Journey to Babel" out in a matter of weeks while busy with all sorts of other stuff, had the time or the inclination to concoct all sorts of convoluted and arcane worldbuilding that she was secretly alluding to when she wrote these lines.
Having met DC Fontana, and having discussed this stuff (briefly) with her, my impression was that the only concocting was in her cleverness to word the scripts so that people could take multiple meanings from her words. Worldbuilding without actually building the world - surely the most intriguing type of storytelling.
TOS was rich with this type of stuff. Hence all the "fanon" interpretations of everything over four decades!
