Support escape characters in IDs and labels