The Evolution of Digital Identity in Web 3.0: From Centralized to Self-Sovereign