Fixes #1107, normalize IDs as much as possible, even if starting with some .. that cannot be normalized out. Still normalize the rest of the ID.