function to search  multi-dimensional array returned by pods::field() by item ID