auto generate entity ID on creation if none supplied 

addresses #567
Should probably be ```/^\S+$/```.