Add const version of vertices::attribute().