Escape using entity names if available