Start of fix for bug 4445, implemented a cpuid based core identification
Added some documentation.