This is how I solved my issue. For a full account of it, please refer to the comments above.
- I've noticed that although my project was already of web application type, designer files weren't showing.
- I've forced the designer files to be recompiled by clicking on the ''convert to web application' option
I was then able to reference the control ID.
Thanks to the commentators anyway.