search for both string and number ids