add query methods for attributes
return virtual attributes via #attributes
fix .base_class for extended records
bump version