generic getter/setter for info attributes