Content creation should throw exception if workspace id and id of content is null in ContentId object

Signed-off-by: MKRussel <russel@smitsol.com>