model: Add id fields