Maintain uniques on models whose id is set later (fixes #13)

Upcoming: merge with the existing instance if there is one?