Refactor attachFieldForProperty for DRY