Just tell the cashier you are a democrat voter, and therefore are not required to carry ID.
End of story, no muss, no fuss.
Same first reaction here -
ID for drain cleaner, but not to vote.