public virtual string GetBabelName(ICustomAttributeProvider provider)
{
object[] attrs =
GetCustomAttributes(provider, typeof(BabelNameAttribute));
if (attrs == null || attrs.Length == 0)
return null;
else
return ((BabelNameAttribute) attrs[0]).Name;
}