In the WW1 Service Records (WO 363) of one of many David SCOTTs, there is a Maintenance Order from the Haddington Magistrates for an Illegitimate Child, born 7 July 1914, to Agnes SOMERVILLE of Portobello.

No clue to name or gender. David SCOTT went missing in action in 1916. To see his record:

Anc****y, SCO, pages 87659 to 87692