quoteIfNecessary

Returns an SQL token wrapped in quotations, if validated as necessary.