Both the Fifth Amendment (through Miranda warnings) and the Sixth Amendment give a defendant the right to an attorney. The Sixth Amendment requirement, however, does not "attach" until after the defendant has been charged with a crime.