MDL-38885 formslib: improve debugging for elements named foo[i]

Don't automatically assume its a repeat element, because it turns
out people name their elements this with non-repeat elements