Prevent matching id's and names both being hashed

Currently, if an input or textarea has matching values for the `id` and `name`, both will have the hash appended. This fix makes it explicitly replace `name="*"` to prevent that. It also correctly logs the different pattern for radio inputs and other inputs.