"If you cannot afford an attorney, one will be appointed for you before any questioning, if you wish."
it is when you're arrested. Until arrested - my understanding that one don't have to answer questions. Though personally i found it is really impossible to insist on your rights, i basically just chicken under stress : https://news.ycombinator.com/item?id=6142434