Behavior of threads

Maybe this is a dumb question, but would it make sense to have a taskid()?