Changed default id to null
Layer ids are now returned as int