[common] Add new helper function _match_id