refs #4179 better var naming
refs #4179 validate id