QmlDesigner.PropertyEditor: Allow changing of id in states

Task-number: QTCREATORBUG-12499
Change-Id: I62b4418acff320978cfb282e94ae8be797509d6e
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>