Whoever attempts to commit any offence punishable under this Act shall be punished with the punishment herein provided for the offence.