Fixed namespacing for forms without an ID

Uses URL as name for form without an ID, and generates a console
warning.