Here will be the user guide for the User ID feature. http://dev.piwik.org/trac/ticket/3490