Also set ID before creation to allow for disabling of validation
Merge pull request #1 from facto/master

Also set ID before creation to allow for disabling of validation