docstr: Yield components with IDs in the tree of children.
docstr_tok: ["Yield","components","with","IDs","in","the","tree","of","children","."]
code: def _traverse_ids(self):
      """Yield components with IDs in the tree of children."""
      for t in self._traverse():
          if (
              isinstance(t, Component)
              and getattr(t, "id", None) is not None
          ):
              yield t
  
imports: import abc
  import collections
  import inspect
  import sys
  import uuid
  import random
  from .._utils import patch_collections_abc, stringify_id, OrderedSet
label_desc: Use image node_id 11 for calling the Component obj's underlying member method code with example usage: obj._traverse_ids() without return types