For example I typed player->coc "caius cosades' house" but that hasn't worked at all. Tried replacing the apostrophe with a dash, underscore, and deleting it entirely but still doesn't work.
The correct location ID for the example is "Balmora, Caius Cosades' House"
So, just type this:
coc "Balmora, Caius Cosades' House"
It should work, worked for me anyway.
Usually the houses in cities go like this:
"CityName, Firstname Surname's House"
Sometimes the House can be Manor or something else. Also, you don't need to add the "player->" when using the COC (or TCL, fixme.. etc.) command.
Hopefully this helped.