pub fn is_valid_identifier(id: &str) -> Result<bool, Error>
Check if id is a valid identifier, e.g., commodity name
Returns error in case the identifier is not valid