A log-linear multidimensional Rasch model for capture-recapture