Implement EZP-22776: Missing NewState Limitation

Issue: https://jira.ez.no/browse/EZP-22776
Id should be fetched through IdManager, to be safe with eg. running with PHP REST client in the future.