Attempt to guess label from code