@staticmethod<EOL><INDENT>def get_id(request):<DEDENT>
if isinstance(request, etree._Element):<EOL><INDENT>elem = request<EOL><DEDENT>else:<EOL><INDENT>if isinstance(request, Document):<EOL><INDENT>request = request.toxml()<EOL><DEDENT>elem = fromstring(request, forbid_dtd=True)<EOL><DEDENT>return elem.get('<STR_LIT>', None)<EOL>
Returns the ID of the Logout Request
:param request: Logout Request Message
:type request: string|DOMDocument
:return: string ID
:rtype: str object