title: Get unique identifier of a Thread in Java 1.4
body: <p>In Java 1.4, is there any better way of getting a Thread's ID than using <code>Thread.getName()</code>?</p>
  
  <p>I mean, <code>getName()</code> in unit tests returns something like <code>"Thread-1"</code>, but in WebLogic 10 I get <code>"[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'.xml"</code>.</p>