Fixed mapping from arrays
Used concatenation for id attributes