make id to integer and add producerId to constructor
write IDfactory into space
get producer id from space
add id