enquoteFunctorIfNecessary
Wraps the provided string within single quotes, but only if it is not well-formed. Well-formed check is performed via the isWellFormedFunctor method.
Return
Parameters
string
the String to be enquoted