This makes a tidy data frame of stuff, and also changes things back to factors, if the levels are provided.
tidy_mcmc_pofz(input, pname, car_tib, mix_indiv_tib)
The output to tidy (i.e.. out$mean$PofZ)
the name that you want the parameter to be called in the output
a tibble with repunit and collection in the order they appear in the output
a tibble with the individuals in the order they appear in the output