Added possibility to use external tags instead of auto incremented
Fixed tm:puhing tagId for autoincremented tagId