allow specifying localKey in hasMany and belongsTo relationships