Text this: Optimising the design and analysis of capture-mark-recapture experiments using individual-based models