use model id property, not id attribute