LPS-49948 Only set id to name of button tag if id is null