Add fallback to element ID

If an element with matching `name` attribute is not found, look for one with matching `id` instead. If element is not an input, set HTML content instead of value.

Makes it possible to use Floodling to fill non-inputs like divs and spans.