code: def from_base58(cls, base58_id: str) -> "PeerID":
      peer_id_bytes = base58.b58decode(base58_id)
      return cls(peer_id_bytes)
  
imports: import hashlib
  from typing import Any, Sequence, Union
  import base58
  import multihash
  from cryptography.hazmat.primitives import serialization
  from multiaddr import Multiaddr, protocols
  from hivemind.proto import crypto_pb2, p2pd_pb2
label_desc: Use image node_id 12 for calling the PeerID obj's underlying member method code with example usage: obj.from_base58(cls, base58_id) and returns: cls