Suppose that we have generated data from a Binomial distribution
$$ C_{1}, C_{2},..., C_{K} \sim Bin(N,p)$$
and our goal is to estimate both the parameters $N$ and $p$. I've see numerically (just plotting the likelihood function) that the model is not identifiable since I can find many combinations of $N$ and $p$ that can give rise to the data $C_{1}, C_{2},..., C_{K}.$ However, when I integrate out the parameter $p$ (assume that $p\sim Beta(1,1)$) the model seems to be identifiable for estimating $N,$ since the integrated likelihood function now has one distinct mode for $N$.
So, in the case where we integrate the $p$ we can reliably estimate the parameter $N$, is it as simple as that?