give item elements ids on creation