safer set.

does not fail on "unmapped" attributes