 based on the taxes that affiliates of that religion would pay. That was true in France and many other places for a long time. In the East, on the other hand, particularly in the former Soviet Union, where being Jewish was so necessarily surreptitious and dangerous, whatever, a lot of people hid their identities or were unaware of them or didn't express their identities in any way or chose not to affiliate and engage in any communal activity.