Move get_id in tlp.py to a method of TLPGraph. Updated docstrings in tlp and dot.