return sample attributes (if present)