I'm doing it for a binomial random variable X with one observation X=x. All I want to know is whether I should write my estimator in terms of X or x.

I believe it to be X. If that is so, should my working be in terms of x then at the final stage change x to X.

Thanks