added method, escapeIdentifier and escapeLiteral