fix member id usage for non empty user id
cleaner validation code for member identifier
Merge pull request #671 from LorenzoBoccaccia/kenexa-fixes

fix member id usage for non empty user id