Thomas Mair, the man charged with the murder of lawmaker Jo Cox, gave his name as "death to traitors, freedom for Britain".