// The id must be a valid ActionScript identifier.
// Otherwise it will be null.
if (!isValidASIdentifier(value))
{
ICompilerProblem problem = new MXMLInvalidIDProblem(attribute);
builder.addProblem(problem);
return null;
}
// The id must be unique within the class.