Ogm 547 unique constraint on properties

https://hibernate.atlassian.net/browse/OGM-547
No, I'll make it private