Nitrogen abundances in damped Lyman α systems: the combined effects of SNII and SNIa in a hierarchical clustering scenario