[#67] generating identifier refactored again. validate presence of identifier before saving