Microscopic Definition of Polymer Entanglements