function for selecting layer identifier