add func_map_rev to map function ids to function names