This was only used by NETBEANS feature, but I always thought it might be useful later.

Actually, I'm confused about the plan for GUI. Wouldn't `syn_id2colors()` be useful when GUI is implemented? Do we plan to go back and dig for these functions, or just rewrite everything? Same question for `get_shape_idx()`.