cleanup documentation of attribute()
simplify attribute() implementation by removing the validate_only feature which we never used anywhere