public LookupFilteringAttribute(Type lookupType)
            : base("Lookup")
        {
            var attr = lookupType.GetCustomAttribute <LookupScriptAttribute>(false);

            if (attr == null)
            {
                throw new ArgumentOutOfRangeException("lookupType");
            }

            SetOption("lookupKey", attr.Key ??
                      LookupScriptAttribute.AutoLookupKeyFor(lookupType));
        }