resettable layer cleanup

- use edition consistently throughout the code
- add get-edition helper function that just returns nil if there is no edition
- remove unused ids-for and current-id functions
- no need to dissoc from the new-id when changing edition on a dissoc reset