String to Object?

Kirby’s Str class to the rescue:

Str::slug($wohnbereich)

If you actually need a field, you could create a new Field instance, but that would probably be overkill.