Set or get a sparse_pk object attribute
sparse_pk_attribute(sparse_pk, ...)A sparse_pk object from as_sparse_pk()
Either a character string (to get that value) or a named vector
the same length as sparse_pk to set the value.
Either the attribute value or an updated sparse_pk object