fix #14. Prevent duplicates if using non-standard ids and adding instantiated models.
1.3.12