method to inherit attributes from class
generated IDL attribute should be symbol, not string
deprecate #readonly? in favour of #read_only?