Adding function get_protocol_id to Account class