title: Core data unique entity attribute
body: <p>I have got entity with NSNumber like id. Then I receive web response with userProfile I create and save its entity with id. If I receive 2 the same userProfiles I have 2 entities in my base. How can I confine my base that it has only one entity with same user id?</p>