code: def get_identity(self):
          
          ava = {}
          for _assertion in self.assertions:
              if _assertion.advice:
                  if _assertion.advice.assertion:
                      for tmp_assertion in _assertion.advice.assertion:
                          if tmp_assertion.attribute_statement:
                              assert len(tmp_assertion.attribute_statement) == 1
                              ava.update(self.read_attribute_statement(
                                  tmp_assertion.attribute_statement[0]))
              if _assertion.attribute_statement:
                  logger.debug("Assertion contains %s attribute statement(s)",
                               (len(self.assertion.attribute_statement)))
                  for _attr_statem in _assertion.attribute_statement:
                      logger.debug("Attribute Statement: %s" % (_attr_statem,))
                      ava.update(self.read_attribute_statement(_attr_statem))
              if not ava:
                  logger.debug("Assertion contains no attribute statements")
          return ava
docs: The assertion can contain zero or more attributeStatements