Fetch an item from GET data.

@param string|array|null $index  Index for item to fetch from $_GET.
@param integer|null      $filter A filter name to apply.
@param mixed|null        $flags

@return mixed