convert IDs and class names

in progress #91