Retrieves a query string value from the current or provided query string.