perf metric: Change expr__get_id to return struct expr_id_data