Fix id collisions for placeholders and parts