Sanitize header ids

Closes https://github.com/CocoaPods/guides.cocoapods.org/issues/59