The ID-card is a mandatory identity document for all Estonian citizens. You can request one from the Estonian Police and Border Guard Board.
If you have lost your PIN code and PUK code, you can request a new code envelope without replacing the ID-card.