Fixes some hasMany association usage of Association.id to check for real id property name (#197)