Change idom() method to get_a_dom(), update uses, and documentation.
Add support for more bytecodes.