Move meta data into its own model, propagate id changes to frames.