generate correct input field id and name for layer selector on new SDM