quoteIdentifierWhenWrongCaseOrNecessary

Returns an identity wrapped in quotations, if validated as necessary.