Callback for array_filter that removes non-integer IDs.
protected function filterId($id) { return is_numeric($id) && $id == (int) $id; }