The US system that classifies and protects secrets has emerged in a curious way since the 20th century.