Adjust id to not have underscore when processing the id from a name of an element