I agree with muman613. I wll just add, that some members of the Jewish community can't even use the Eruv solution to carry on Shabbat, because in their view it is rare that the Eruvs constructed today can meet all the requirements to make it effective.
In any case, there are also Jews that live outside areas where any type of Eruv is constructed.
However, I will point to a possible unpleasant solution that I see in the (5744-1984 edition) of the English translation of
Shemirath Shabbath Kehikchatah page 219
A soldier may, if the need arises in the performance of his security duties, go out into reshuth ha-rabbim wearing a chain with an identification disc (bearing his name, number, blood group and so forth) around his neck.
Subject to the following two conditions, a person is allowed to go out into reshuth harabbim with an identity card or certificate, during the time of war or emergency.
1) It must be carried in an unusual way, for example stuck into one's hat.
2) One must be on one's way to perform a mitzva' for example to prayers or to study Torah.
One however who faces this situation would have to ask however their local Orthodox Rabbi, does the decree of the government mandating wearing ID's define one's situation as being in an emergency.
There might be one other solution within the framework of halacha, but I prefer that someone else offers the solution.