A paper showing the maths of this is:
Evans, C., Hughes, J. & Houston, J. (2002) Significance testing the validity of ideographic methods: a little derangement goes a long way. British Journal of Mathematical and Statistical Psychology, 55:385-390.
I've mounted a very quick introduction to the method in HTML. That's a variant of a powerpoint poster given at the Chicago International meeting of the Society for Psychotherapy Research in 2000.
Table 1 from that paper tabulates the probabilities of various scores for various n (Hm, horrid HTML, I must find a better way to get from Word to HTML than Word.) If you observe a score of, say 6 correct matches across 8 sets of data, you can read that the probability of hitting exactly six by chance alone was .0007, and that the crucial probability of hitting six or more, is also .0007 to any sensible accuracy (since the probability of getting eight of eight by chance alone is a .00002 which adds little to .0007). Incidentally, there is no possibility of scoring 7 here since it's always impossible to match n-1 from n: if you've got the first n-2 right, you either get the last two the right way round or the wrong way around.
In addition I've mounted a few tools that can give you these probabilities for any arbitrary n:
Chris Evans,