MC1.7 does indeed automatically assign IDs now, the names are persistent but the IDs are auto assigned (on first startup). That being said unless there are major changes to existing mods, it should maintain the original IDs in the world folder.
We have tested this on UnionCraft, purging a mod...