normalizing instance ids