Validate name argument. It must be a snake_case character vector. You can add the a cdm object to check name is not already used in that cdm.
name
Useful links