Fixed primaryKeyFieldName for associations refs #152