Changes input names to ids