added safeContext: check to inert new entities methods and updates Carl's convenience methods to use contextOrNil