Can't clone object with no id
Reported by @mwoehlke and split out here
Steps to reproduce:
- open Inkscape
- create a rectangle
- open the xml editor
- select the rectangle and delete it's id
- clone the rectangle (Alt+d)
What happened?
- Use element created that references
#(null)
What should have happened?
- rectangle has an id generated and clone references that.