Where defendant gives a false name during an encounter, no violation of ยง901.36 is shown, and the court errs in failing to JOA a charge of giving a false name. Defendant must be lawfully detained before he is required to give a correct name.