Which is the correct cofunction identity for tan?

cot(pi/2-x) = tan(x)

that what you mean?

In fact, for any trig function f, co-f(x) = f(pi/2-x). The "co" means complementary angle.