@emir-hasanbegovic moved idcreator and using it in bind definition. Also fixed small issue with Sample