Updated label() to replace . with _ in order to generate valid DOM ids. Replaced _ as separators with -. Dropped translate methods, which assumed too much about an element's __data__.