Checks if trait names follow the Rust naming convention.