def identify_protocol(method, value):<EOL>
for protocol_name in PROTOCOLS:<EOL><INDENT>protocol = importlib.import_module(f"<STR_LIT>")<EOL>if getattr(protocol, f"<STR_LIT>")(value):<EOL><INDENT>return protocol<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise NoSuitableProtocolFoundError()<EOL><DEDENT>
Loop through protocols, import the protocol module and try to identify the id or request.