A Bayesian Perspective On Training Data Attribution