Anagrafe, Stato civile, Elettorale