Validate that the tags of fields are unique and in range, that proto3 message cannot reference proto2 enums.