Don't compare to NSError directly, use return value to check for success/failure
Obtain permanent id for managed object