clean layer IDs and class names from unicode characters and counters