How to change the default name of ESP8266-12E module
This line of code should hopefully do a difference.

wifi_station_set_hostname(myHostname);


For more information :

https://www.reddit.com/r/esp8266/comments/3zl3pi/change_esp8266_network_name/