Deletes model with id from local storage.
id
void deleteLocalById(Object id, {bool notify = true}) { final key = core.getKeyForId(type, id); deleteLocalByKeys([key], notify: notify); }