changed tag_id to varchar(64); used heredocs.
should reflect the original data to the just saved data, for both insert and update.
start testing HasJoin relation.
return key value of data if lastId is not used and ...
tested basic HasJoin relation object functionality.
test HasJoin for replacing (link method with array of entities).