Fixed model identifier saving.
Merge pull request #9 from kenmyrs/savingModelId

Fixed model identifier saving.