Introduce util function for escaping special characters in strings
Summary
Currently, we're doing more or less elaborate replacements of special characters whenever we need it somewhere in the code (or in caosadvancedtools, caoscrawler, ...).
There should be one function, e.g., in caosdb.utils.escape_characters_for_query that the following query will be reliable.
import caosdb as db
from caosdb.utils import escape_characters_for_query as ec
db.execute_query(f"FIND {ec('My RecordType')} WITH {ec('weird*p\'name')}={ec('some value')}")
will work reliably.
Then we can replace all other separate implementations of this, e.g., in caoscrawler.identifiable_adapter or caosadvancedtools.models.parser