remove all ids and change to class if necessary