Proper escaping of qualified names