Generate a subquery given the user options, as set in the options.
These are passed in rather than picked up from the object because we
generate the subquery when the options are saved, rather than when the view
is run. This saves considerable time.
Helper function for menu loading. This will automatically be
called in order to 'load' a views argument; primarily it
will be used to perform validation.