resolves issue #50 so users can set attributes in form of string or
array of strings. Of course Map is still supported, and setter methods
as well.