One possibility would be to use the following:
bysort id:: gen diff=x[1]-x[2] if _n==1
this would generate the differences and one could do a paired t-test on
them.  This is equivalent to McNemar's test asymptotically under the null
hypothesis.
Alternatively, one could do a conditional logistic regression using id as a
block.  
Peter A. Lachenbruch, Ph. D.
Director, Division of Biostatistics
OBE/CBER/FDA
Phone    (301) 827-3320
FAX        (301) 827-5218
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/