title: How do I get the value an NSManagedObjectID was created from
body: <p>Let's say the <code>[managedObjectID URIRepresentation]</code> uri is:</p>
  
  <pre><code>x-coredata://ABCDEF/Post/p1234567
  </code></pre>
  
  <p>At first, I thought I could use <code>[[objectID URIRepresentation] lastPathComponent]</code>, but this returns</p>
  
  <pre><code>p1234567
  </code></pre>
  
  <p>instead of just <code>1234567</code>. I can slice off the p, but this seems like not the proper way of doing things. Is there a better way? </p>