Assign Note-ID to new notes in addnote window (revert a change in 2.1.28)

I’m afraid the new behaviour is likely to stay, as generating ids in advance is more error-prone. If you change your code to change the note after it is added, you can then immediately save it to accomplish the same as before.

It’s a bit silly to have to store the id in a field just so duplicates can be matched when importing - when I revisit the importing code, this is something I’d like to fix.