auto generate entity ID on creation if none supplied 

addresses #567
yep that's better