generate ids for items without ids
add id to other elements
add reports