Added escape() and escape_identifier() methods with new tests