generate `el.id` in `init(el)` if `id` is empty

Fix #6.
Merge pull request #7 from Mithgol/patch-1

generate `el.id` in `init(el)` if `id` is empty