more generic way for searching menu item id