Rename `options.id` to `options.name` and generate unique `id`.
Merge pull request #1410 from Gozala/bug/frame-name@976654

Bug 976654 - Rename `options.id` to `options.name` and generate unique `id`. r=@zer0