Using txid is very bad idea because if you manually create the tx you can keep trying a new one until you get the numbers you want. Or if you send the tx using regular send, you can just double spend if you don't get the tx you like.
I`m also use randomly last digit (seconds) from the time of appeared transaction in block.