Outside References
During the TARDISODE for this episode, the letters "SB6" (presumably standing for Sanctuary Base 6) are seen on a display changing into the numbers "666". While considering human curiosity, the Doctor quotes " where angels fear to tread", from Alexander Pope's An Essay on Criticism.
Read more about this topic: The Satan Pit