Store model id as relationship property