Removing duplicated style.
Normalizing names.
Removing colliding ids and names.