Include assertion for primary key assignment