The UK had Identity cards from September 1939 (introduced as a wartime measure) until 1952, with, I understand, an obligation to carry and produce them on demand. They did not (normally) have a photograph, only number, name and address: date of birth, and I think some other information, were...