ir: Allow the storage of named expressions in store.