Don't map id to primary key in raw_write_attribute
#29464

eugeneius wants to merge eugeneius:raw_write_attribute into rails:master

We do not currently have an analysis of these two commits