I went to a bar/restaurant in Utah recently that scanned everyone's IDs at the entrance - their little handheld reader pulled my name and computed my age from the barcode on the back of my NC DL. They said it works for most states, but it didn't work on a friend's from MN
Edit: Also, the new (ugly, pastel-ey) NC drivers licenses also appear to have a 1-D barcode on them as well
I was poking around for fun a while ago looking into the barcode and you could buy scanners that could read from NC IDs but they weren't free/cheap.
I haven't seen a new ID, haven't bothered getting a new one since I turned 21 a few years back so I have no idea what the newer ones have or don't have.
Edit: Also, the new (ugly, pastel-ey) NC drivers licenses also appear to have a 1-D barcode on them as well