code: def get_log_hierarchy_id(self):
          
          # Implemented from template for
          # osid.resource.BinHierarchySession.get_bin_hierarchy_id
          if self._catalog_session is not None:
              return self._catalog_session.get_catalog_hierarchy_id()
          return self._hierarchy_session.get_hierarchy_id()
docs: Gets the hierarchy ``Id`` associated with this session.
  
          return: (osid.id.Id) - the hierarchy ``Id`` associated with this
                  session
          *compliance: mandatory -- This method must be implemented.*