Move label-of to element and shared it with vertex/edge

In TP3, both edges and vertices have labels (as do vertex properties) so it made sense to move this function out of edge.