Concatenating and generating IDs for every member of a household

If possible, can you please post the lines from the survey that are building the ID? And an example of the data output showing the mismatch between what is being created and what you are looking for?

See this for details on how to share a snippet of an XLSForm: