Throw a better error from vertices::attribute_ref.