Scene id is retrieved by ID() not id(), which is only provided for widgets. Fixup for commit e4aaa80f.