- setters for names and attributes in the C-level interface
- implemented/fixed getter and setter for names and attributes
  (the setter for names is restricted to vectors for the moment)
- added unit tests for all this