Ranking, unranking and random generation of extensional acyclic digraphs