check if a proposal title is a valid variant name

This is important because proposals may create variants with the same name later on