title: Core Data Primary Key
body: <p>This may seem stupid, but I still couldn't figure out how to mark a attribute as a primary key in the xcdatamodel file.
  My persistent storage is sqlite file.
  Can anyone help me?</p>
  
  <p>In that case, how can I "validate" a ID to be unique?
  Should I write a validation method or something?</p>