Remove IDS from linearization strings.