In Colorado some liquor stores scan the barcode on your ID, so showing ID to buy liquor isn't a 2 second perfunctory check, but instead another time and place piece of info to add to the dossier about you
I don't think I'd let a random shop scan my ID, especially for something as unimportant as alcohol. A barcode doesn't sound like it stores much, but the potential for ID theft is something I would think anyone is cautious to avoid.