fn cmd_to_id(cmd: &EditCmd) -> Option<ID>