Get fields from data slot
## S4 method for signature 'bayesplay' x$name
x
a bayesplay object
bayesplay
name
field name
content of the named field from the data slot