wmts: use title instead of identifier (fixes #9391)
wms: use titles in layer name (fixes #4002)