cleaner validation code for member identifier